import DoublyLinkedList from '../../../src/datastructure/linkedlist/doublylinkedlist'

const list = new DoublyLinkedList()
list.push(1)
list.push(3)
list.push(4)

list.insert(2, 1)
list.insert(0, 0)
list.insert(5, 5)
console.log(list + '')
console.log(list.toStringInverse())

list.removeAt(0)
list.removeAt(list.count - 1)
list.removeAt(1)
console.log(list + '')
console.log(list.toStringInverse())
